﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Auto.Tools.Standards.Extends
{
    public static class StringExtends
    {
        /// <summary>
        /// 是否为空
        /// </summary>
        /// <param name="inputText"></param>
        /// <returns></returns>
        public static bool IsNullOrWhiteSpace(this string inputText)
        {
            return string.IsNullOrWhiteSpace(inputText);
        }
        /// <summary>
        /// 是否不为空
        /// </summary>
        /// <param name="inputText"></param>
        /// <returns></returns>
        public static bool IsNotNull(this string inputText)
        {
            return !string.IsNullOrWhiteSpace(inputText);
        }
    }
}
